<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加学生信息</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div style="width:600px;height:100%;margin-left:270px;">
    <form action="/student/add" th:object="${stumodel.student}" method="post">
        学号：<input class="form-control" type="text" name="id" th:value="*{id}"><br>
        姓名：<input class="form-control" type="text" name="sname" th:value="*{sname}"><br>
        性别：<input class="form-control" type="text" name="sex" th:value="*{sex}"><br>
        班级号：<input class="form-control" type="text" name="Cid" th:value="*{Cid}"><br>
        专业号：<input class="form-control" type="text" name="Mid" th:value="*{Mid}"><br>
        学院号：<input class="form-control" type="text" name="Did" th:value="*{Did}"><br>
        民族：<input class="form-control" type="text" name="nation" th:value="*{nation}"><br>
        年龄：<input class="form-control" type="text" name="age" th:value="*{age}"><br>
        出生日期：<input class="form-control" type="text" name="birthday" th:value="*{birthday}"><br>
        家庭住址：<input class="form-control" type="text" name="location" th:value="*{location}"><br>
        入学日期：<input class="form-control" type="text" name="enroll" th:value="*{enroll}"><br>
        <button class="btn btn-primary btn-lg btn-block">保存</button>
    </form>
</div>
</body>
</html>